package com.thingsgrid.device.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@Document(collection = "device_default" )
@ApiModel(value = "DefaultConfig",description = "DefaultConfig对象")
public class DefaultConfig {


	public DefaultConfig() {
	}

	public DefaultConfig(String deviceName, String deviceId, String productId, String deviceFirm, String deviceType, Double firmwareVersion, String operateUnit, String maintainPerson, String maintainPersonPhone, String province, String city, String region, String longitude, String dimension, String ipAddress, String describe, String createTime) {
		this.deviceName = deviceName;
		this.deviceId = deviceId;
		this.productId = productId;
		this.deviceFirm = deviceFirm;
		this.deviceType = deviceType;
		this.firmwareVersion = firmwareVersion;
		this.operateUnit = operateUnit;
		this.maintainPerson = maintainPerson;
		this.maintainPersonPhone = maintainPersonPhone;
		this.province = province;
		this.city = city;
		this.region = region;
		this.longitude = longitude;
		this.dimension = dimension;
		this.ipAddress = ipAddress;
		this.describe = describe;
		this.createTime = createTime;
	}

	/**
	 * 主键Id
	 */
	@Id
	private String defaultConfigId;
	/**
	 * 设备名称
	 */
	private String deviceName;
	/**
	 * 设备ID
	 */
	private String deviceId;
	/**
	 * 所属产品
	 */
	private String productId;
	/**
	 * 生产厂商
	 */
	private String deviceFirm;
	/**
	 * 设备型号
	 */
	private String deviceType;
	/**
	 * 固件版本
	 */
	private Double firmwareVersion;
	/**
	 * 运营单位
	 */
	private String operateUnit;
	/**
	 * 维护人员
	 */
	private String maintainPerson;
	/**
	 * 维护人员联系电话
	 */
	private String maintainPersonPhone;
	/**
	 * 所属省份（直辖市）
	 */
	private String province;
	/**
	 * 所属城市
	 */
	private String city;
	/**
	 * 所属区域
	 */
	private String region;
	/**
	 * 经度
	 */
	private String longitude;
	/**
	 * 维度
	 */
	private String dimension;
	/**
	 * 设备IP
	 */
	private String ipAddress;
	/**
	 * 描述
	 */
	private String describe;
	/**
	 * 创建时间
	 */
	private String createTime;




}
